package org.libermundi.theorcs.chronicles.tapestry.components.chat;

import org.apache.tapestry5.Asset;
import org.apache.tapestry5.annotations.Import;
import org.apache.tapestry5.annotations.Path;
import org.apache.tapestry5.annotations.Property;
import org.apache.tapestry5.ioc.annotations.Inject;
import org.got5.tapestry5.jquery.ImportJQueryUI;

@Import(library={
		"${chronicles.scripts}/jquery.slimscroll.min.js",
		"${chronicles.scripts}/chat.js",
}, stylesheet={
		"${chronicles.styles}/chat.css"
})
@ImportJQueryUI(value={
		"jquery.ui.mouse",
		"jquery.ui.draggable"
})
public class ChatBox {
	@Inject
	@Path("${layout.images}/avatar/avatar27.png")
	@Property(write=false)
	private Asset _defaultAvatar;
}
